//
//  UILabel+TapAttribute.h
//  MoreCoin
//
//  Created by 林宁宁 on 2019/10/24.
//  Copyright © 2019 MoreCoin. All rights reserved.
//


#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UILabel (TapAttribute)

/**
 * 点击回调
 * @param lc_tapBlock index 没有点到时返回-1;charAttributedString 选中的字符的属性字符串
 */
@property (nonatomic,copy) void (^_Nullable ned_tapBlock)(UILabel * passLabel, NSInteger index,NSAttributedString *charAttributedString);

@end



//@interface LCTextHelper : NSObject
//
///**
// * 获取UILabel点击的字符
// * @param location 点击label的位置
// * @param label 点击的label
// * @param selectedBlock 点击返回
// */
//- (void)selectLocation:(CGPoint)location OfLabel:(UILabel *)label selectedBlock:(void (^)(NSInteger index,NSAttributedString *charAttributedString))selectedBlock;
//
//@end

NS_ASSUME_NONNULL_END
